#!/bin/bash
exename=$1
inputfile=$2
outputfile=$3
tmpout=$4
echo "input : $inputfile</br>"
echo "output : $outputfile</br>"
echo "tmpout : $tmpout</br>"
#/usr/local/bin/fpc $filename && $outname < $inputfile > $outputfile;
$exename < $inputfile > $tmpout
#/usr/bin/diff $outputfile ./pasfile/output/out1.txt;
#/usr/bin/diff $tmpout $outputfile
#if [ "$?" = "0" ]; then
#echo '<p style="color:#0F0">accepted </p>'
#else
#echo '<p style="color:#F00">wrong answer </p>'
#fi
